/*
 * 　　版权所有（c）[2020] [不贫]
 * 　　[Rust 中文排序] 采用木兰宽松许可证第2版进行许可。
 * 　　你可以根据木兰宽松许可证第2版的条款和条件使用此软件。
 * 　　你可以在以下位置获得木兰宽松许可证第2版的副本：
 *            http://license.coscl.org.cn/MulanPSL2
 * 　　本软件按“原样”提供，不作任何明示或暗示的担保，包括但不限于不侵权、适销性或适合特定用途。
 * 　　查看木兰宽松许可证第2版获取更多信息。
 *
 *   Copyright (c) [2020] [BuPin]
 *   [rust_chinese_sort] is licensed under Mulan PSL v2.
 *   You can use this software according to the terms and conditions of the Mulan PSL v2.
 *   You may obtain a copy of Mulan PSL v2 at:
 *            http://license.coscl.org.cn/MulanPSL2
 *   THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 *   See the Mulan PSL v2 for more details.
 */

#![feature(non_ascii_idents)]

// use rust_chinese_sort::转换::转普通话拼音;
use rust_chinese_sort::字母排序;

fn main() {
    let a = vec!["拼音", "应该", "是", "什么", "样", "的", "pinyin", "yinggai"];
    println!("{:?}", 字母排序(&a));
    let a = vec!["频率", "拼音", "品", "聘书", "pinyin", "yinggai"];
    println!("{:?}", 字母排序(&a));
    let a = vec!["一", "疑", "已", "易", "yi"];
    println!("{:?}", 字母排序(&a));
    let a = vec!["中文", "中国", "abc", "重工", "abc中文"];
    println!("{:?}", 字母排序(&a));
    let a = vec!["长沙", "昌沙", "中间", "abc", "中计", "abc中文"];
    println!("{:?}", 字母排序(&a));
}
